<%@ page language="java" import="java.util.*" contentType="text/html; charset=UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<c:set var="basePath" value="${pageContext.request.contextPath}" />
<html>
<head>
<title>tab</title>
<meta http-equiv="content-Type" content="text/html;charset=UTF-8">
<link href="${basePath }/tabs/tab.css" type="text/css" rel="stylesheet"/>

<script type="text/javascript">
<!--
function selectAll()
{
	if(this.checked==true) { 
		checkAll('test'); 
	} 
	else { 
		clearAll('test'); 
	}
}
function checkAll(name)
{
	var el = document.getElementsByTagName('input');
	var len = el.length;
	for(var i=0; i<len; i++)
	{
		if((el[i].type=="checkbox") && (el[i].name==name))
		{
			el[i].checked = true;
		}
	}
}
function clearAll(name)
{
	var el = document.getElementsByTagName('input');
	var len = el.length;
	for(var i=0; i<len; i++)
	{
		if((el[i].type=="checkbox") && (el[i].name==name))
		{
			el[i].checked = false;
		}
	}
}
-->
</script>
</head>
<body>
      <TABLE class="table1" border=0 cellSpacing=1 cellPadding=4 width="100%" align=center>
        <TR align="left">
          <td><IMG src="${basePath }/tabs/images/home.gif"> 
          您的位置：项目管理&gt;&gt;提醒设置
         </TD></TR>
</TABLE>
          <br/>
          
<TABLE class="table1" cellSpacing=1 cellPadding=4 width="100%"  align=center>
        <TR height=20>
          <TD width="1%"></TD>
          <TD width="25%" align=left>&nbsp;</TD>
          <TD width="50%" align=right>&nbsp; <IMG 
            border=0 align=bottom src="${basePath }/tabs/images/icon_autoforward.gif"> 
            新增&nbsp;|<IMG 
            border=0 src="${basePath }/tabs/images/icon_delete.gif">删除&nbsp;|<IMG 
            border=0 src="${basePath }/tabs/images/refresh.gif">&nbsp;刷新
            <SCRIPT src="${basePath }/tabs/images/print.js"></SCRIPT>
          </TD></TR></TABLE>
<table border="1">
<tbody id="tab" align="center">
  <tr>
    <td><table border="1">
      <thead >
        <tr>
          <th width="8%">员工号</th>
          <th width="8%">用户姓名</th>
          <th width="8%">接收短信</th>
          <th width="8%">手机号码</th>
          <th width="8%">接收邮件</th>
          <th width="8%">邮箱号码</th>
          <th width="8%">操作</th>
        </tr>
      </thead>
      <tbody id="tab2" align="center">
        <tr>
          <td class="order_number">001</td>
          <td>周文龙</td>
          <td><label>
            <input type="checkbox" name="checkbox" value="checkbox" checked>
          </label></td>
          <td>18967145862</td>
          <td><input type="checkbox" name="checkbox7" value="checkbox" checked></td>
          <td>1031510544@qq.com</td>
          <td><a href="#" target="main">修改</a></td>
        </tr>
        <tr>
          <td class="order_number">002</td>
          <td>孙志强</td>
          <td><input type="checkbox" name="checkbox2" value="checkbox" ></td>
          <td>13625719141</td>
          <td><input type="checkbox" name="checkbox3" value="checkbox" checked></td>
          <td>353953539@qq.com</td>
          <td><a href="#" target="main">修改</a></td>
        </tr>
        <tr>
          <td class="order_number">003</td>
          <td>陈君威</td>
          <td><input type="checkbox" name="checkbox2" value="checkbox" checked></td>
          <td>15068822120</td>
          <td><input type="checkbox" name="checkbox3" value="checkbox" checked></td>
          <td>chenmiaoq@126.com</td>
          <td><a href="#" target="main">修改</a></td>
        </tr>
        <tr>
          <td class="order_number">004</td>
          <td>李剑豪</td>
          <td><input type="checkbox" name="checkbox2" value="checkbox" checked></td>
          <td>13763754871</td>
          <td><input type="checkbox" name="checkbox3" value="checkbox" ></td>
          <td>chenzl@126.com</td>
          <td><a href="#" target="main">修改</a></td>
        </tr>
        <tr>
          <td class="order_number">005</td>
          <td>吴小莲</td>
          <td><input type="checkbox" name="checkbox2" value="checkbox" checked></td>
          <td>15358733877</td>
          <td><input type="checkbox" name="checkbox3" value="checkbox" checked></td>
          <td>zjieee@163.com</td>
          <td><a href="#" target="main">修改</a></td>
        </tr>
      </tbody>
      <tfoot>
      </tfoot>
    </table></td>
  </tr>
</tbody>
</table>
<script type="text/javascript">
<!--
var Ptr=document.getElementById("tab").getElementsByTagName("tr");
function $() {
    for (i=1;i<Ptr.length+1;i++) { 
    Ptr[i-1].style.backgroundColor = (i%2>0)?"#fff":"#eee"; 
    }
}
window.onload=$;
for(var i=0;i<Ptr.length;i++) {
    Ptr[i].onmouseover=function(){
    this.tmpClass=this.className;
    this.style.backgroundColor = "#ccc";
    
    };
    Ptr[i].onmouseout=function(){
    for (i=1;i<Ptr.length+1;i++) { 
    Ptr[i-1].style.backgroundColor = (i%2>0)?"#eee":"#fff"; 
    }
	}
}
//-->
</script>
</body>
</html>
